|
|
@@ -66,9 +66,9 @@ module.exports = function(crowi, app) {
|
|
|
|
|
|
let redirectTo;
|
|
|
if (userData.password == null) {
|
|
|
- // userData.password cann't be empty but, prepare redirect because password property in User Model is optional
|
|
|
+ // userData.password can't be empty but, prepare redirect because password property in User Model is optional
|
|
|
// https://github.com/weseek/growi/pull/6670
|
|
|
- redirectTo = '/me#password';
|
|
|
+ redirectTo = '/me#password_settings';
|
|
|
}
|
|
|
else if (req.session.redirectTo != null) {
|
|
|
redirectTo = req.session.redirectTo;
|