fixed warnings
This commit is contained in:
parent
464d7f112b
commit
89dacc5f7a
@ -33,15 +33,15 @@ import axios from "axios";
|
||||
<template>
|
||||
<div class="mb-3">
|
||||
<input type="text" name="login" class="form-control"
|
||||
placeholder="Логин" required="true" autofocus="true" maxlength="64" v-model="data.login"/>
|
||||
placeholder="Логин" required autofocus maxlength="64" v-model="data.login"/>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<input type="password" name="password" class="form-control"
|
||||
placeholder="Пароль" required="true" minlength="6" maxlength="64" v-model="data.password"/>
|
||||
placeholder="Пароль" required minlength="6" maxlength="64" v-model="data.password"/>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<input type="password" name="passwordConfirm" class="form-control"
|
||||
placeholder="Пароль (подтверждение)" required="true" minlength="6" maxlength="64" v-model="data.passwordConfirm"/>
|
||||
placeholder="Пароль (подтверждение)" required minlength="6" maxlength="64" v-model="data.passwordConfirm"/>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<button type="submit" class="btn btn-success button-fixed" @click.prevent="createUser">Создать</button>
|
||||
|
@ -6,7 +6,6 @@ import com.kalyshev.yan.util.validation.ValidationException;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.validation.Valid;
|
||||
|
Loading…
Reference in New Issue
Block a user