fixed warnings

This commit is contained in:
Калышев Ян 2023-05-13 15:57:39 +04:00
parent 464d7f112b
commit 89dacc5f7a
2 changed files with 3 additions and 4 deletions

View File

@ -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>

View File

@ -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;