Commit Graph

41 Commits

Author SHA1 Message Date
Pellaeon Lin 69ff86ee53 Update# clean up code from johannesst's PR 2015-08-29 19:17:10 +08:00
Pellaeon Lin 26d028bcdf Update# separate sending verification email to a private function 2015-08-29 18:14:22 +08:00
Johannes Starosta 5b9f0f0286 Fix merge conflict 2015-08-01 10:19:58 +02:00
Pellaeon Lin 431b598aa7 Fix# Exception namespace,
should error when unable to set user email
2015-07-20 07:25:36 +00:00
Pellaeon Lin 96d584e751 Fix# internal server error when username already exists 2015-07-20 07:25:36 +00:00
Johannes Starosta 6ecfe51d8b Fix merge conflict 2015-07-19 06:06:26 +02:00
Pellaeon Lin bbcf4c9033 Fix# imports 2015-07-13 20:11:24 +08:00
Pellaeon Lin 957f674781 Fix# Can't use method return value in write context
This would probably occur for PHP<5.5
ref: https://stackoverflow.com/a/4328049/446391
2015-07-13 17:24:18 +08:00
Johannes Starosta a0b26e0a46 Removed commented out bug in validateMail 2015-07-13 07:36:36 +02:00
Johannes Starosta 9295c366ea Now registrations works again when domain is not set 2015-07-13 06:40:28 +02:00
Johannes Starosta db941b30aa Fixed invalid mail error msg 2015-07-13 05:58:44 +02:00
Johannes Starosta b514714215 Added error message when trying to register from wrong domains 2015-07-13 05:32:44 +02:00
Johannes Starosta ce319a54aa Fixed typo in domain checking code 2015-07-13 04:08:52 +02:00
Johannes Starosta de6137e7ff Code for handling registrations for allowed and not allowed domains 2015-07-13 03:28:47 +02:00
Pellaeon Lin b97b8d9e6e Update# actually add new user to configured group 2015-06-24 01:21:18 +08:00
Pellaeon Lin 211db8e923 Fix# declare private variable of injected usermanager dependency 2015-06-24 01:02:22 +08:00
Pellaeon Lin 51e92b9a17 Update# directly delete pending registration after successfully
registered
2015-06-24 00:50:14 +08:00
Pellaeon Lin e7d97cf778 Update# check if existing user has the same email 2015-06-04 20:51:47 +08:00
Pellaeon Lin e4701fd8e5 Update# set user email after account creation 2015-05-04 15:13:13 +08:00
Pellaeon Lin 76fc8839d8 Fix# syntax error 2015-03-05 18:28:37 +08:00
Pellaeon Lin 04c7bb5b3d Set registered after account creation 2015-01-31 00:34:36 +08:00
Pellaeon Lin 79a0ace565 Fix account create success message 2014-10-22 14:37:20 +08:00
Pellaeon Lin 798e984205 Fix message template layout, and it should be rendered as guest page 2014-10-21 23:21:38 +08:00
Pellaeon Lin 0c71e30e79 Use custom message template 2014-10-21 21:27:02 +08:00
Pellaeon Lin 56bf03986a Show success message after account created 2014-10-14 21:35:31 +08:00
Pellaeon Lin 2229ddc66b Should use IUserManager instead of newing a Manager 2014-10-06 16:00:23 +08:00
Pellaeon Lin db7a287564 Fix createAccount form action 2014-10-04 21:42:22 +08:00
Pellaeon Lin f1fdba1339 Implement createAccount controller 2014-10-04 21:31:56 +08:00
Pellaeon Lin 77a8e73324 Start working on createAccount controller 2014-10-03 16:15:39 +08:00
Pellaeon Lin 2a8ff61496 Rename function: PendingRegist::findByToken -> findEmailByToken 2014-10-03 16:05:57 +08:00
Pellaeon Lin 08030b2f2a Render raw text email 2014-10-03 15:59:00 +08:00
Pellaeon Lin da2228226e Render successful message after email sent 2014-10-03 15:39:06 +08:00
Pellaeon Lin a7a6bd28e0 Fix route name: verifyToken 2014-10-03 15:37:06 +08:00
Pellaeon Lin 529ac74340 Fix sendMail function name 2014-10-03 14:31:55 +08:00
Pellaeon Lin e16e5df481 Implemented controller verifyToken 2014-08-31 19:20:26 +02:00
Pellaeon Lin d26481dbe8 Correctly display error message 2014-08-31 13:39:51 +00:00
Pellaeon Lin 38f0673f2b Guest template type 2014-08-31 13:14:10 +00:00
Pellaeon Lin bf7df3827b Fix registerController 2014-08-31 12:14:24 +00:00
Pellaeon Lin 6b75d5a394 Should call PendingRegist for DB operations 2014-08-31 10:13:36 +00:00
Pellaeon Lin e25165eaa6 Render form without header bar 2014-08-31 09:37:08 +00:00
Pellaeon Lin 4fff21de2b Rename to RegisterController, make askEmail work 2014-08-30 15:05:02 +00:00