Skip to content

Commit

Permalink
dep fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Praesidiarius committed Jan 23, 2020
1 parent d1b63e0 commit 6cbea9d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 11 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"require": {
"php": "^7.1",
"oneplace/oneplace-core": "^1.0.0"
},
"autoload": {
"psr-4": {
Expand Down
23 changes: 23 additions & 0 deletions docs/book/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# oneplace-user

onePlace User Module. Manage Users, Permissions and User Settings

## Installation

onePlace User Module is required by onePlace X Core and so its
automatically installed once you install onePlace Core using composer.

So if you already have onePlace Core, theres no need to do anything
for installation.

if you want to use onePlace User Module for your own project
you can add it with composer

```bash
$ composer require oneplace/oneplace-user
```

## Support
* Issues: [github.com/oneplc/plc_x_user/issues](https://github.com/oneplc/plc_x_user/issues)
* Source: [github.com/oneplc/plc_x_user/](https://github.com/oneplc/plc_x_user/)
* Telegram Group: [t.me/oneplc](https://t.me/oneplc)
11 changes: 3 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@ docs_dir: docs/book
site_dir: docs/html
nav:
- Home: index.md
- Introduction: intro.md
- 'Quick Start': quick-start.md
- Reference:
- 'Dynamic Fields': dynamic-fields.md
- Examples: examples.md
site_name: oneplace-skeleton
site_description: "onePlace Application User Module"
site_name: oneplace-user
site_description: "onePlace User Module"
repo_url: 'https://github.com/OnePlc/PLC_X_User'
theme: readthedocs
theme: bootstrap4
extra:
project: onePlc
2 changes: 1 addition & 1 deletion src/Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,6 @@ public function setthemeAction() {
$oThemeTbl->update(['theme'=>$sTheme],['User_ID'=>CoreController::$oSession->oUser->getID()]);
$this->flashMessenger()->addSuccessMessage('Please login again to see your new theme');

return $this->redirect()->toRoute('home');
return $this->redirect()->toRoute('logout');
}
}
2 changes: 1 addition & 1 deletion view/layout/login.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<?= $this->headTitle('Laminas MVC Skeleton')->setSeparator(' - ')->setAutoEscape(false) ?>
<?= $this->headTitle('onePlace - Login')->setSeparator(' - ')->setAutoEscape(false) ?>

<?= $this->headMeta()
->appendName('viewport', 'width=device-width, initial-scale=1.0')
Expand Down

0 comments on commit 6cbea9d

Please sign in to comment.