Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic Aurora Files

 AfterLogic Forum : AfterLogic Aurora Files
Subject Topic: Demo user Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Makatukas
Newbie
Newbie


Joined: 25 May 2023
Online Status: Offline
Posts: 1
Posted: 25 May 2023 at 9:47am | IP Logged Quote Makatukas

How to disable allow user change password, or turn on demo user?
Thanks
Back to Top View Makatukas's Profile Search for other posts by Makatukas
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 26 May 2023 at 12:28am | IP Logged Quote Igor

Hello,

Disabling changing user password isn't currently supported by Aurora Files.

As for demo mode, that can be achieved by installing these two modules:

https://github.com/afterlogic/aurora-module-demo-mode-plugin
https://github.com/afterlogic/aurora-module-demo-mode-files-initializer-plugin

The first one enables demo login while the second one places demo files content.

You can install the modules as shown here. For aurora-module-demo-mode-plugin module, you can take a sample config from here and put it to data/settings/modules/DemoModePlugin.config.json, set the values to something like:

Code:
"DemoUserType": [
    "Db",
    "spec",
    "\\Aurora\\Modules\\DemoModePlugin\\Enums\\DemoUserType"
],
"DemoLogin": [
    "user@mydomain.com",
    "string"
],
"DemoRealPass": [
    "actual_pwd",
    "string"
],


You'll also need to specify demo login and password in data/settings/modules/StandardLoginFormWebclient.config.json file, "DemoLogin" and "DemoPassword" settings.

The difference is, "DemoPassword" in this case contains the placeholder for what's shown in the login form - but "DemoRealPass" in DemoModePlugin.config.json is the actual password users don't see.

Hope this helps.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 27 June 2023 at 12:51am | IP Logged Quote Igor

With Aurora Files 9.7.1 release, this has been adjusted and is now published in the documentation:

Enabling demo mode

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide