Merge pull request #43 from linux-odyssey/feat-add-username-hint

Add username instruction
This commit is contained in:
Lin, Hung-Shin authored and GitHub committed 2023-10-15 00:32:17 +08:00
commit d13d330a83
1 file changed
+6
+6
View File
@@ -108,6 +108,12 @@ const handleChange = () => {
@input="handleChange()"
autocomplete="username"
/>
<label
class="text-sm font-semibold text-text-secondary"
v-if="type === 'username' || type === 'register'"
>Username should start with lowercase and consist of lowercase,
numbers, '_' and '-'
</label>
</div>
<div class="mb-6" v-if="type === 'register'">
<label for="email" class="text-sm font-semibold text-text">Email</label