mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
Merge pull request #43 from linux-odyssey/feat-add-username-hint
Add username instruction
This commit is contained in:
1 file changed
+6
@@ -108,6 +108,12 @@ const handleChange = () => {
|
|||||||
@input="handleChange()"
|
@input="handleChange()"
|
||||||
autocomplete="username"
|
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>
|
||||||
<div class="mb-6" v-if="type === 'register'">
|
<div class="mb-6" v-if="type === 'register'">
|
||||||
<label for="email" class="text-sm font-semibold text-text">Email</label
|
<label for="email" class="text-sm font-semibold text-text">Email</label
|
||||||
|
|||||||
Reference in new issue
Block a user