]> source.dussan.org Git - nextcloud-server.git/commit
Fix encryption + remembered login due to missing login hook 4892/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 16 May 2017 06:41:11 +0000 (08:41 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 16 May 2017 06:41:11 +0000 (08:41 +0200)
commit0a43c259c46bb820d46b8732f431622ecf4f25b3
tree56b52200ac3b3743a83a899c32cfb05a96bbfec8
parente920e2028491ad841b6c6765f72bfa947a47ea9f
Fix encryption + remembered login due to missing login hook

The encryption app relies on the post_login hook to initialize its keys.
Since we do not emit it on a remembered login, the keys were always un-
initialized and the user was asked to log out and in again.
This patch *translates* the postRememberedLogin hook to a post_login
hook.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/Server.php
lib/private/User/Session.php