fix
This commit is contained in:
@@ -13,8 +13,7 @@ return new class extends Migration
|
|||||||
{
|
{
|
||||||
Schema::create('users', function (Blueprint $table) {
|
Schema::create('users', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->string('uuid')->unique();
|
$table->string('name')->default('Anonymous');
|
||||||
$table->string('name')->default('Your Name Here');
|
|
||||||
$table->string('email')->unique();
|
$table->string('email')->unique();
|
||||||
$table->timestamp('email_verified_at')->nullable();
|
$table->timestamp('email_verified_at')->nullable();
|
||||||
$table->string('password');
|
$table->string('password');
|
||||||
|
|||||||
@@ -67,6 +67,17 @@
|
|||||||
else console.log('saved');
|
else console.log('saved');
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@else
|
||||||
|
<script>
|
||||||
|
function changePasswordFieldType(id) {
|
||||||
|
const input = document.getElementById(id);
|
||||||
|
if (input.type === 'password') {
|
||||||
|
input.type = 'text';
|
||||||
|
} else {
|
||||||
|
input.type = 'password';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@endauth
|
@endauth
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user