diff options
author | Joas Schilling <coding@schilljs.com> | 2020-07-14 10:52:23 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-07-21 21:21:19 +0300 |
commit | 9543a3670d5dcd911d8a0127ae6b6e6b0b896d8f (patch) | |
tree | 297091387d4ce4c536ce601c557e1172f00ec5a5 /appinfo | |
parent | 2d327c783c98f3f887aadfc627ca21644feb88cf (diff) |
Register "Registration" as alternative login option via the new public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 17 | ||||
-rw-r--r-- | appinfo/info.xml | 5 |
2 files changed, 1 insertions, 21 deletions
diff --git a/appinfo/app.php b/appinfo/app.php deleted file mode 100644 index 8ed3342..0000000 --- a/appinfo/app.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -/** - * ownCloud - registration - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Pellaeon Lin <pellaeon@hs.ntnu.edu.tw> - * @copyright Pellaeon Lin 2014 - */ - -\OCP\Util::addStyle('registration', 'register-button'); -\OC_App::registerLogIn([ - 'name' => \OC::$server->getL10N('registration')->t('Register'), - 'href' => \OC::$server->getURLGenerator()->linkToRoute('registration.register.askEmail'), - 'style' => 'register-button', -]); diff --git a/appinfo/info.xml b/appinfo/info.xml index 052bb41..7194554 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -37,10 +37,7 @@ Send BTC to `33pStaSaf4sDUA8XBAHTq7ZDQpCVFQArxQ` <repository>https://github.com/nextcloud/registration</repository> <screenshot>https://raw.githubusercontent.com/nextcloud/registration/master/appinfo/screenshot.png</screenshot> <dependencies> - <database>sqlite</database> - <database>pgsql</database> - <database min-version="5.5">mysql</database> - <nextcloud min-version="17" max-version="20" /> + <nextcloud min-version="20" max-version="20" /> </dependencies> <settings> <admin>OCA\Registration\Settings\RegistrationSettings</admin> |