Formatting

This commit is contained in:
shpuld 2019-01-28 17:48:00 +02:00
parent 1b76a5a9ea
commit 4d3907b86a
2 changed files with 13 additions and 11 deletions

View file

@ -29,8 +29,9 @@ const LoginForm = {
app, app,
instance: data.instance, instance: data.instance,
username: this.user.username, username: this.user.username,
password: this.user.password}) password: this.user.password
.then((result) => { }
).then((result) => {
if (result.error) { if (result.error) {
this.authError = result.error this.authError = result.error
this.user.password = '' this.user.password = ''

View file

@ -33,6 +33,7 @@
</div> </div>
</div> </div>
</form> </form>
<div v-if="authError" class='form-group'> <div v-if="authError" class='form-group'>
<div class='alert error'> <div class='alert error'>
{{authError}} {{authError}}