Commit Graph

89 Commits

Author SHA1 Message Date
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
Uwe Steinmann
e486254d80 include inc/inc.Init.php, new order of include files 2014-12-08 14:47:32 +01:00
Uwe Steinmann
31da6d4f5f Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
2014-07-24 07:58:32 +02:00
Uwe Steinmann
760da5e2b4 check if pwd is passed in _POST 2014-07-24 07:53:08 +02:00
Uwe Steinmann
1fcc786d25 Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
	SeedDMS_Core/Core/inc.ClassUser.php
	op/op.AddDocument.php
	styles/bootstrap/application.css
	views/bootstrap/class.UsrMgr.php
2014-05-22 08:21:22 +02:00
Uwe Steinmann
4fa324f99e change deletion of old sessions
the time when an old session is deleted is taken from the cookie
lifetime. If set to 0 it will be after 1 week
2014-05-22 06:40:47 +02:00
Uwe Steinmann
319b2cbe75 Merge branch 'seeddms-4.3.8' into develop 2014-04-15 18:53:21 +02:00
Uwe Steinmann
cfe5d1561c set LDAP_OPT_REFERRALS in case of AD 2014-04-15 15:32:43 +02:00
Uwe Steinmann
84c89c3ed6 go to home folder if set for user 2014-03-26 17:30:38 +01:00
Uwe Steinmann
468846b19f Merge branch 'seeddms-4.3.7' into develop
Conflicts:
	Makefile
	op/op.Download.php
2014-03-21 09:20:19 +01:00