How to assign a first user an admin by default?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
15 views
Good day!
How to assign a first user an admin by default?
Users stored in the database. How best to implement the above functionality, so that every time he did not check the user with each new registration? Or should I create a default default user on first initialization?
by | 15 views

1 Answer

0 like 0 dislike
you can check out: it is unlikely that users will be recorded by the thousands every minute.

usually use one of 2 scenarios: default user created by the machine or during installation/initialization request the necessary data, which is created by the user.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,251 users