Put oauth text into description.

This commit is contained in:
Roger Braun 2018-11-08 19:27:19 +01:00
parent a04795d723
commit 1de382f026
3 changed files with 6 additions and 3 deletions

View file

@ -23,10 +23,13 @@
</form>
<form v-if="loginMethod == 'token'" v-on:submit.prevent='oAuthLogin' class="login-form">
<div class="form-group">
<p>{{$t('login.description')}}</p>
</div>
<div class='form-group'>
<div class='login-bottom'>
<div><router-link :to="{name: 'registration'}" v-if='registrationOpen' class='register'>{{$t('login.register')}}</router-link></div>
<button :disabled="loggingIn" type='submit' class='btn btn-default'>{{$t('login.login_token')}}</button>
<button :disabled="loggingIn" type='submit' class='btn btn-default'>{{$t('login.login')}}</button>
</div>
</div>
</form>

View file

@ -12,7 +12,7 @@
},
"login": {
"login": "Anmelden",
"login_token": "Mit OAuth anmelden",
"description": "Mit OAuth anmelden",
"logout": "Abmelden",
"password": "Passwort",
"placeholder": "z.B. lain",

View file

@ -21,7 +21,7 @@
},
"login": {
"login": "Log in",
"login_token": "Log in with OAuth",
"description": "Log in with OAuth",
"logout": "Log out",
"password": "Password",
"placeholder": "e.g. lain",