Add a config.json option for enabling registration, don't link and redirect away from register page when it's disabled.
This commit is contained in:
parent
bfbc94d697
commit
1a5ee95ee4
5 changed files with 12 additions and 4 deletions
|
@ -4,7 +4,8 @@ const LoginForm = {
|
|||
authError: false
|
||||
}),
|
||||
computed: {
|
||||
loggingIn () { return this.$store.state.users.loggingIn }
|
||||
loggingIn () { return this.$store.state.users.loggingIn },
|
||||
registrationOpen () { return this.$store.state.config.registrationOpen }
|
||||
},
|
||||
methods: {
|
||||
submit () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue