Skip to content

Commit

Permalink
# v1.0.2
Browse files Browse the repository at this point in the history
## 04/22/2015

1. [](#bugfix)
    * Delete Debug
  • Loading branch information
Diyzzuf committed Apr 22, 2015
1 parent 0ba0fed commit 6053a45
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
22 changes: 15 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
# v1.0.2
## 04/22/2015

1. [](#bugfix)
* Delete Debug

# v1.0.1
## 04/21/2015

1. [](#fix)
1. [](#new)
* Rewrite Code

2. [](#bugfix)
* Fix #3.2 bug when they are only one tag
* Fix send login form route
* Thanks Vaseltior

2. [](#improved)
3. [](#improved)
* "Improve" security
* Rewrite Code
* Home variable is now the same as system.yaml home variable
* Update Documentation ( Need help for a best english documentation. )

# v0.4.6
## 03/10/2015

1. [](#fix)
1. [](#bugfix)
* Fix bug when the private tag is on first position
* Fix #1 : Added var home on config for full private redirection
* Fix #2 : Compatibility sessions with other plugins
Expand All @@ -33,21 +41,21 @@
# v0.4.4
## 02/12/2015

1. [](#fix)
1. [](#bugfix)
* Fix conflict with other plugins (issue #1)
* Fix bad commit, sorry ( 5991d5e )

# v0.4.3
## 02/12/2015

1. [](#fix)
1. [](#bugfix)
* ~~Fix conflict with other plugins (issue #1)~~
** This is a bad commit ! ( 5991d5e ) **

# v0.4.2
## 02/10/2015

1. [](#fix)
1. [](#bugfix)
* US date on changelog

# v0.4.1
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ Enable or Disable the entire plugin (default: `true`).
enabled: (true|false)

###### Routing
Routes of login, logout and home page. You can customize it by simple replacement of the value (e.g: login: "/admin" for "mywebsite.com/admin" )
The home option is only for full private website (Bug fix #1)
Routes of login and logout. You can customize it by simple replacement of the value (e.g: login: "/admin" for "mywebsite.com/admin" )

routes:
login: "/login"
Expand Down
4 changes: 2 additions & 2 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Private
version: 1.0.1
description: "Provide an authentication form to keep your Grav site or part of it private."
version: 1.0.2
description: "Provide an authentification form to keep your Grav site or part of it private."
icon: lock
author:
name: Diyzzuf
Expand Down
2 changes: 0 additions & 2 deletions private.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ public function onPluginsInitialized()
if (!isset($_SESSION)) {
session_start();
}

$this->grav['debugger']->addMessage($this->active);

$this->uri = $this->grav['uri'];
$this->homepath = $this->grav['config']->get('system.home.alias', null);
Expand Down
2 changes: 1 addition & 1 deletion private.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ routes:

session_ss: random_value

private_site: false
private_site: true
private_tag: hidden
enable_username: false

Expand Down

0 comments on commit 6053a45

Please sign in to comment.