mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-22 14:26:29 +01:00
Adapted registerlogin.js db require location
This commit is contained in:
parent
2911ab5667
commit
b4885f9993
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ const bcrypt = require("bcrypt");
|
||||||
const saltRounds = 10;
|
const saltRounds = 10;
|
||||||
var nodemailer = require("nodemailer");
|
var nodemailer = require("nodemailer");
|
||||||
var randtoken = require("rand-token");
|
var randtoken = require("rand-token");
|
||||||
var db_connect = require("../db.js");
|
var db_connect = require("../modules/db.js");
|
||||||
|
|
||||||
//send email
|
//send email
|
||||||
function sendEmail(email, token) {
|
function sendEmail(email, token) {
|
||||||
|
|
Loading…
Reference in a new issue