Commit Graph

98 Commits

Author SHA1 Message Date
Uwe Steinmann
f7ebe88822 add authentication service 2022-11-28 21:40:42 +01:00
Uwe Steinmann
2556bf5b3f set 'source' = 'web' for controller 2022-11-24 12:39:57 +01:00
Uwe Steinmann
233639ce35 include inc.Utils.php early 2022-11-09 06:40:50 +01:00
Uwe Steinmann
54d802b36a do not call run() but use __invoke() 2022-07-29 21:44:04 +02:00
Uwe Steinmann
e4fb5d5255 set session to null if login fails to prevent warning when error msg is shown 2022-03-04 08:17:07 +01:00
Uwe Steinmann
03eb842f8e remove extra '/' in referuri 2021-07-23 13:41:04 +02:00
Uwe Steinmann
0b9435d362 append referuri to base url to prevent redirects to arbitraty sites 2021-06-21 08:58:22 +02:00
Uwe Steinmann
a4935f608b remove old magic_quote code for compatibility with php 8 2021-05-12 08:43:09 +02:00
Uwe Steinmann
92b049ee6d pass referuri to controller 2020-08-26 11:39:42 +02:00
Uwe Steinmann
0f38a3dff6 propperly evaluate lang from REQUEST 2019-04-17 08:29:19 +02:00
Uwe Steinmann
61549c0455 log failed login 2019-01-14 10:11:50 +01:00
Uwe Steinmann
b7ffaa878e move most of the login code into a controller 2019-01-11 15:07:20 +01:00
Uwe Steinmann
d519990d5e do not set default theme for user anymore, redirect to login page
if the user didn't have a theme set, it used to be set by the default
theme. This has been turned off.
2018-09-05 07:15:12 +02:00
Uwe Steinmann
b99795da12 add log line before calling controller
that allows to redirect in the controller, with skipping the logging
2018-08-17 14:40:10 +02:00
Uwe Steinmann
da2696869b do not pass $user to controllor factory 2018-04-23 15:27:23 +02:00
Uwe Steinmann
ea99276a9c 2FA will come in 6.0.x 2018-04-06 16:36:09 +02:00
Uwe Steinmann
bfc59dc90c use ErrorDlg view for error messages
this will also fix the js errors when the error page was shown
2018-04-06 16:34:01 +02:00
Uwe Steinmann
b223344af9 set dms and user in controller
was previously taken from global variables
2018-03-12 18:34:17 +01:00
Uwe Steinmann
4e9d241108 include autoload.php instead of robthree classes 2018-02-05 15:12:18 +01:00
Uwe Steinmann
cc8161e353 fix php warning when login fails 2017-11-07 17:50:58 +01:00
Uwe Steinmann
99fe3a4ff7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-23 13:46:52 +02:00
Uwe Steinmann
6858b98558 do not redirect with host and port (Closes #336) 2017-08-23 13:46:07 +02:00
Uwe Steinmann
5003c54deb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-30 08:46:59 +02:00
Uwe Steinmann
1e691c2451 check early for guest login
even before any other authenitcation methods
2016-08-30 07:57:06 +02:00
Uwe Steinmann
e1d09ac09f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 15:53:31 +02:00
Uwe Steinmann
f890b23ccc put authentication into its own class 2016-08-10 15:52:55 +02:00
Uwe Steinmann
b3cbd5825c remove old comment 2016-08-10 08:49:24 +02:00
Uwe Steinmann
786ffb7523 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 08:46:15 +02:00
Uwe Steinmann
b8fd3b67f2 fix line indenting 2016-08-10 08:45:58 +02:00
Uwe Steinmann
79e7a2babe Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 08:38:33 +02:00
Uwe Steinmann
5d05057774 treat ldap auth like database auth
count login failures, check for guest user, etc.
2016-08-10 08:04:52 +02:00
Uwe Steinmann
ffab03a8b8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-09 07:55:35 +02:00
Uwe Steinmann
6303973618 fix copyright in header 2016-08-09 07:34:30 +02:00
Uwe Steinmann
bc3450015a some code cleanup 2016-04-04 09:00:08 +02:00
Uwe Steinmann
2045060f78 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-04 08:59:28 +02:00
Uwe Steinmann
0e9503cb0d remove some spaces 2016-04-04 08:51:05 +02:00
Uwe Steinmann
fb98eb948d fix line indenting 2016-04-04 08:49:50 +02:00
Uwe Steinmann
194c6c4fe8 fix ldap authentication 2016-04-04 08:46:03 +02:00
Uwe Steinmann
d398f7733f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-23 12:34:50 +01:00
Uwe Steinmann
e5bd281d28 check password even for guests if set 2016-03-23 12:32:47 +01:00
Uwe Steinmann
068bd9a3f9 pass $dms to view for error message 2016-03-07 08:16:10 +01:00
Uwe Steinmann
6f4c1cb519 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-01-22 09:30:14 +01:00
Uwe Steinmann
c43c5e64eb ldap search can be filtered 2016-01-19 15:30:54 +01:00
Uwe Steinmann
250400a9cb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-11-25 17:01:52 +01:00
Uwe Steinmann
eda80242ea some reorganization of email notification 2015-11-25 16:49:09 +01:00
Uwe Steinmann
4d0a64266e redirect relative to http_root 2015-06-11 14:09:50 +02:00
Uwe Steinmann
18e46f0d95 redirect to url with absolute path
using a relative url won't work if the apache rewrites the url, e.g.
/Login/<hash> will be rewritten to /seeddms/op/op.Login.php
Redirecting to ../op/op.Login.php will result in a url /op/op.Login.php
which does not exists
2015-06-10 08:31:13 +02:00
Uwe Steinmann
ad3a3b2c52 allow to add additional authentication before ldap 2015-06-10 08:24:00 +02:00
Uwe Steinmann
0335cc8bcd Merge branch 'seeddms-4.3.15' into develop
Conflicts:
	Makefile
	views/bootstrap/class.Search.php
	views/bootstrap/class.Settings.php
2015-03-17 06:52:33 +01:00
Uwe Steinmann
46d7ecf80d do not even check for guest user, if disabled 2015-02-26 11:47:28 +01:00