from django.contrib import admin
from .models import *
from unfold.admin import ModelAdmin


@admin.register(User)
class UserAdmin(ModelAdmin):
    list_display = ['phone', 'email', 'is_superuser']
    readonly_fields = ['password', 'last_login', 'otp_expiry', 'otp_hash']