Rev 1199 | Rev 1206 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1199 | Rev 1201 | ||
---|---|---|---|
Line 134... | Line 134... | ||
134 | </form>'; |
134 | </form>'; |
135 | 135 | ||
136 | } catch (\Exception $e) { |
136 | } catch (\Exception $e) { |
137 | 137 | ||
138 | $out['icon'] = 'img/error.png'; |
138 | $out['icon'] = 'img/error.png'; |
- | 139 | $htmlmsg = $e instanceof OIDplusException ? $e->getHtmlMessage() : htmlentities($e->getMessage()); |
|
139 | $out['text'] = '<p>'._L('Error: %1',htmlentities($e->getMessage())).'</p>'; |
140 | $out['text'] = '<p>'._L('Error: %1',$htmlmsg).'</p>'; |
140 | 141 | ||
141 | } |
142 | } |
142 | } else if (explode('$',$id)[0] == 'oidplus:reset_password') { |
143 | } else if (explode('$',$id)[0] == 'oidplus:reset_password') { |
143 | $handled = true; |
144 | $handled = true; |
144 | 145 |