Skip to content
Snippets Groups Projects
  1. Aug 28, 2018
    • JediKev's avatar
      issue: Existing User Registration · 4a371e40
      JediKev authored
      This addresses an issue where registering as a non-existing user fails to
      register nor create an account. This is due to a check added in `824e92`
      that fails if there is no User model found for the address provided.
      4a371e40
  2. Jul 11, 2018
    • aydreeihn's avatar
      User Registration Fixes: · 824e92b2
      aydreeihn authored
      This commit fixes a bug where Public User Registration always resulted in creating a new User. Now, if a User goes to register an Account and their email already matches a User in the system, we will register the existing User. To set the registration method, go to:
      Admin Panel | Settings | Users | Registration Method
      824e92b2
  3. Nov 06, 2017
    • JediKev's avatar
      issue: User Registration Form · d0572f21
      JediKev authored
      This addresses issue 4043 where the User registration form does not
      validate whether or not the required fields have data. This adds checks
      for data in the Email field and Name field. If there is no data it will
      not let you create an account.
      d0572f21
  4. Jun 03, 2016
    • Michael's avatar
      Internal error occurred #3 (with a lot more internal error occurred related changes) · d1f5d1ef
      Michael authored
      This commit updates a bunch of files and changes a lot of phrases. Basically it extracts "Internal error occurred" from existing phrases.
      I've re-ordered the phrases so "Internal error occurred" is always at the end after the actual informative error message.
      
      Example comparison before and after this commit:
      Before: 1 Phrase: "Internal error: Unable to print to PDF"
      After: 2 Phrases: "Unable to print to PDF." + "Internal error occurred"
      d1f5d1ef
  5. Sep 26, 2015
  6. Sep 14, 2015
    • bailey86's avatar
      Fix blank page from 'register' link in email · edf25b03
      bailey86 authored
      We have existing clients who do not have an account (yet) on osTicket.  We create a ticket for them from the admin interface (creating a new guest user account) and this results in an email being sent to them with details of a job carried out.  This user can then click on the link in the notification email and view the ticket as guest - and hopefully opt to register an account.
      
      The problem seems to be this - the user clicks on the ticket number in their notification email which lets them view the ticket as a guest - there is then a link to 'register for an account' linked to http://www.example.com/account.php?do=create - but clicking this link results in a blank page.  The PHP error is:
      
      PHP Fatal error:  Call to a member function getField() on a non-object in /home/osticket/public_html/account.php on line 35, referer: http://www.example.com/tickets.php?id=105
      
      This seems to be related to a bug in account.php around line 34.
      
          // Guest registering for an account                                                                                                      
          if ($thisclient->isGuest()) {
              foreach ($thisclient->getForms() as $f)
                  if ($f->get('type') == 'U')
                      $user_form = $f;
              $user_form->getField('email')->configure('disabled', true);
          }
      
      If    $f->get('type')   is not equal to 'U' then $user_form does not get set - and therefore:
          $user_form->getField('email')->configure('disabled', true);
      
      results in the 'call member function on a non-object error'.
      
      I think the block should be:
      
          // Guest registering for an account                                                                                                      
          if ($thisclient->isGuest()) {
              foreach ($thisclient->getForms() as $f)
                  if ($f->get('type') == 'U') {
                      $user_form = $f;
                      $user_form->getField('email')->configure('disabled', true);
                  }
          }
      
      Further - to be implicit the foreach statement should have curly braces.
      
          // Guest registering for an account                                                                                                      
          if ($thisclient->isGuest()) {
              foreach ($thisclient->getForms() as $f) {
                  if ($f->get('type') == 'U') {
                      $user_form = $f;
                      $user_form->getField('email')->configure('disabled', true);
                  }
              }
          }
      edf25b03
  7. Dec 08, 2014
  8. Jun 30, 2014
  9. Jun 27, 2014
  10. Apr 25, 2014
  11. Apr 18, 2014
  12. Apr 03, 2014
  13. Mar 27, 2014
  14. Mar 26, 2014
    • Jared Hancock's avatar
      Implement a remote user import process · 395d435e
      Jared Hancock authored
      This adds a feature for remote authentication methods for clients, such as
      LDAP, which will, after successful authentication, yield a
      ClientCreateRequest rather than an AuthenticatedUser. The
      ClientCreateRequest represents a successful authentication and user
      information lookup for a remote client. The client is then presented with a
      registration page where their information for their account in the local
      system can be reviewed prior to the account creation. Once created, the
      client account is confirmed without an email confirmation and is logged in
      immediately without reentering a password.
      395d435e
  15. Mar 25, 2014
Loading