Hello!

I have a new install of osTicket (1.12) and created a new agent. I entered name, email address, & the 'set password' button. I entered a password (twice) & unchecked the 'send the agent..' and 'require password..' boxes. Within the 'access' tab, I made sure to add the primary dept & access. I chekced the 'permissions' tab & 'teams' tab. When finished, I clicked on 'save changes'.

However, when trying to log in using this agents' crendentials, it gives me the message 'access denied'. I've doubled checked the password, I even deleted the user and recreated it to no avail.

This seems like a simple task (setting up a new agent, assigned a password). What am I missing?

PHP version: 7.1.30
OS: Apache
Client UI: tried all browsers (chrome, firefox, edge)
URL: helpdesk.middlegeorgiarc.org

agent-issue-screen-captures.pdf
339kB
error-log.pdf
55kB

Can you try the following please?

Create the account.
Go to /scp/staff.php?a=add
Add name, email. username, auth back end.
Click Access tab, grant access.
Click Permissions tab, give permissions.
Optional: Click Teams tab, add a team.
Click Create.

Now that you have done that click the Set password button
uncheck the two boxes.
enter the password twice.
Click Set.

It seems that doing it before you click Create, fails.

That actually worked....I need to create the agent prior to setting their password.

Thanks so much!

@mgrembowski @ntozier

This is a bug in the system. It's supposed to use the PasswordResetForm data in the session to update the password but guess what? We don't use the setPassword() method anywhere in Staff::update(). ?

Here is a link to the fix:
https://github.com/osTicket/osTicket/pull/4968

P.S.
@mgrembowski I see that you have an LSU avatar...did you know we are based/located "down the road" in Alexandria? ?

Cheers.

    KevinTheJedi Understood (that is a bug and understand how, sometimes, those slip thru the development process, began my IT career as a programmer).

    That is pretty awesome that you guys are in LA. Took my son to LSU football camp last summer and it is his dream to play football there. Have a great day!

    @mgrembowski

    That's awesome! I hope he does play there some day as it's an amazing school for football. ?

    Cheers.

    Write a Reply...