mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-22 14:26:29 +01:00
Remove unused statement
This commit is contained in:
parent
d43be73f0c
commit
430eea9777
1 changed files with 1 additions and 6 deletions
|
@ -39,15 +39,10 @@ router.route('/login')
|
|||
companyName : 'SALAH',
|
||||
error : 'Please confirm your email'
|
||||
});
|
||||
} else if (data[0] == 401){
|
||||
res.render('pages/login', {
|
||||
companyName : 'SALAH',
|
||||
error : 'Invalid Credential'
|
||||
});
|
||||
} else {
|
||||
res.render('pages/login', {
|
||||
companyName : 'SALAH',
|
||||
error : 'Something went wrong !!!'
|
||||
error : 'Invalid Email or Password'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue