The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Manually Add User
#1
In admin_users.php:
<pre>
Code:
if($settings->auto_assign_un==1) {
          $validation->check($_POST,array(
            'username' => array(
              'display' => 'Username',
              'required' => true,
              'min' => $settings->min_un,
              'max' => $settings->max_un,
              'unique' => 'users',
            ),
            'fname' => array(
              'display' => 'First Name',
              'required' => true,
</pre>
...

If auto_assign_un==1 'username' should not be checked as it is in join.php, isn't it?
Elsewise it will throw 'Username is required'
  Reply


Messages In This Thread
Manually Add User - by anduse - 01-09-2018, 08:31 PM
Manually Add User - by Brandin - 01-10-2018, 11:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)