summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-11 16:21:40 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-11 16:22:25 +0200
commit50c1553c389c554c7297b44b03f5ff3c0410b69d (patch)
tree440c0d8694c1331852418465fa4fa019549b0351 /lib
parentc824572b91ce8b85704b0dab11bba248e87610bc (diff)
downloadnextcloud-server-50c1553c389c554c7297b44b03f5ff3c0410b69d.tar.gz
nextcloud-server-50c1553c389c554c7297b44b03f5ff3c0410b69d.zip
automaticaly login after setup
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 192fd134608..c7259d6b8ce 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -206,6 +206,7 @@ class OC_Setup {
OC_User::createUser($username, $password);
OC_Group::createGroup('admin');
OC_Group::addToGroup($username, 'admin');
+ OC_User::login($username, $password);
//guess what this does
OC_Installer::installShippedApps(true);