Oracle Solution for Error ora-28012

Solution for Oracle Error ORA-28012

ORA-28012: Manual commit not allowed here

What triggered the Error:

attempt was made to commit a non-autonomous transaction from within a change password trigger or password verification routine

What should we do to fix it:

move the COMMIT from the password trigger or password verification routine