Skip to content

Commit

Permalink
bug: Refactor oauth2 login pages openemr#6845,openemr#6844 (openemr#6846
Browse files Browse the repository at this point in the history
)

* Refactor oauth2 login pages openemr#6845,openemr#6844

Made the login error messages show up - Fixes openemr#6845

Refactored the patient-select,scope-authorize,login pages into twig
files that share a twig base of oauth2-base.html.twig.  Added
PageTemplateRender events that module writers can key into / override if
they need to.

Moved the MFA script into the config.yaml so we can grab it in the twig
file.

* Minor code review fixes

* Fix copyright issues.

* Fix escaping and patient-select
  • Loading branch information
adunsulag authored Sep 18, 2023
1 parent ee5ca89 commit e49ae5e
Show file tree
Hide file tree
Showing 11 changed files with 653 additions and 582 deletions.
5 changes: 4 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,7 @@ assets:
script: erx_javascript.js
checkpwd_validation:
basePath: '%webroot%/interface/usergroup/'
script: checkpwd_validation.js
script: checkpwd_validation.js
u2f_api:
basePath: '%webroot%/library/js/'
script: u2f-api.js
207 changes: 0 additions & 207 deletions oauth2/provider/login.php

This file was deleted.

Loading

0 comments on commit e49ae5e

Please sign in to comment.