mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixes mm-1962 verify email redirect now works correctly
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||
},
|
||||
function loginFailed(err) {
|
||||
if (err.message === 'Login failed because email address has not been verified') {
|
||||
window.location.href = '/verify_email?name=' + encodeURIComponent(name) + '&email=' + encodeURIComponent(email);
|
||||
window.location.href = '/verify_email?teamname=' + encodeURIComponent(name) + '&email=' + encodeURIComponent(email);
|
||||
return;
|
||||
}
|
||||
state.serverError = err.message;
|
||||
|
||||
Reference in New Issue
Block a user