mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 15:26:13 +01:00
phpmyadmin autologin: access keys generation
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
from django.db import models
|
||||
from websiteFunctions.models import Websites
|
||||
|
||||
@@ -15,3 +14,8 @@ class DBMeta(models.Model):
|
||||
database = models.ForeignKey(Databases, on_delete=models.CASCADE)
|
||||
key = models.CharField(max_length=200)
|
||||
value = models.TextField()
|
||||
|
||||
class GlobalUserDB(models.Model):
|
||||
username = models.CharField(max_length=200)
|
||||
password = models.CharField(max_length=500)
|
||||
token = models.CharField(max_length=20)
|
||||
|
||||
Reference in New Issue
Block a user