Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Trying to fix issue with rainloop admin
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-alain-b committed May 13, 2020
1 parent 867fcb5 commit 4af10d1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rainloop/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.0
6.1.1
5 changes: 4 additions & 1 deletion rainloop/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
* Based initially on https://github.com/RainLoop/rainloop-webmail/tree/master/build/owncloud
*/

OCP\User::checkAdminUser();
#OCP\User::checkAdminUser();
if (!OC_User::isAdminUser(OC_User::getUser())) {
return;
}

OCP\Util::addScript('rainloop', 'admin');

Expand Down
2 changes: 1 addition & 1 deletion rainloop/appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>RainLoop</name>
<summary>RainLoop Webmail</summary>
<description>Simple, modern and fast web-based email client. After enabling in Nextcloud, go to Nextcloud admin panel, "Additionnal settings" and you will see a "Rainloop webmail" section. There, click on the link to go to the Rainloop admin panel. The default user/password is admin/12345. This version is based on Rainloop 1.14.0 (2020-01).</description>
<version>6.1.0</version>
<version>6.1.1</version>
<licence>agpl</licence>
<author>RainLoop Team, Nextgen-Networks, Tab Fitts, Pierre-Alain Bandinelli</author>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion rainloop/appinfo/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.0
6.1.1

0 comments on commit 4af10d1

Please sign in to comment.