Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
3f876403
Commit
3f876403
authored
5 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
token reset passwd
parent
e23a1d2d
master
MLAB-677
devel
devel_wolfgang
patch-1
reset-jul13
reset-merge
test_logoutbutton
testing
1 merge request
!2
Mlab 56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/config.js
+1
-1
config/config.js
routes/routes.js
+1
-0
routes/routes.js
with
2 additions
and
1 deletion
+2
-1
config/config.js
+
1
-
1
View file @
3f876403
module
.
exports
=
{
development
:
{
app
:
{
hostname
:
'
m4lab.hft-stuttgart.de/account
/
'
,
hostname
:
'
m4lab.hft-stuttgart.de/account
'
,
name
:
'
User Account Management
'
,
hostname
:
'
m4lab.hft-stuttgart.de/account
'
,
port
:
process
.
env
.
PORT
||
9989
...
...
This diff is collapsed.
Click to expand it.
routes/routes.js
+
1
-
0
View file @
3f876403
...
...
@@ -394,6 +394,7 @@ module.exports = function (app, config, passport) {
});
app
.
post
(
'
/reset/:token
'
,
function
(
req
,
res
)
{
var
newPwd
=
req
.
body
.
inputNewPwd
methods
.
checkUserToken
(
req
.
params
.
token
,
function
(
err
,
user
){
if
(
user
)
{
// encrypt password
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets