ctf_marker icon indicating copy to clipboard operation
ctf_marker copied to clipboard

Adding the Admin User during 'CREATE Users & Teams' fails due to lack of T_TYPE

Open kernel-sanders opened this issue 7 years ago • 6 comments

https://github.com/rgajendran/ctf_marker/blob/5135484c7a8e912249ecea7d1350cfabe5df3dd0/admin.php#L1014

The users DB is defined with `T_TYPE` varchar(1) NOT NULL,

But the Admin user is added without T_TYPE, which causes:

Field 'T_TYPE' doesn't have a default value

I added the Admin user with a T_TYPE of L based on what I could see from other spots in the code. It seems to work. Should line 1014 include a T_TYPE of L?

kernel-sanders avatar Aug 22 '17 18:08 kernel-sanders