Merge pull request 'add reset-password' (!1207) from hotFix-reset-password into test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1207 Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
commit
0ad4a1ae3a
|
@ -21,7 +21,7 @@ export default class App extends Component {
|
||||||
|
|
||||||
get showLayout() {
|
get showLayout() {
|
||||||
const state = this.$state.current.name || this.$location.$$path.substring(1).replace('/', '.');
|
const state = this.$state.current.name || this.$location.$$path.substring(1).replace('/', '.');
|
||||||
const outLayout = ['login', 'recoverPassword', 'resetPassword'];
|
const outLayout = ['login', 'recoverPassword', 'resetPassword', 'reset-password'];
|
||||||
return state && !outLayout.some(ol => ol == state);
|
return state && !outLayout.some(ol => ol == state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue