Remove deprecated auth_support support
Change-Id: I79947bfe25b94cf9093b2b134f8f2039c3eb40b3
diff --git a/Changes b/Changes
index ebe373e..7948840 100755
--- a/Changes
+++ b/Changes
@@ -1,10 +1,11 @@
-0.34 2019-05-21
+0.34 2019-06-24
- Introduced guided tour (hebasta, #19).
- Updated dependency on M::P::Notifications to
be compatible with recent versions of Mojolicious.
- Introduce cuts in token views.
- Improve QueryCreator to single-quote-escape special
characters in orth-line and include more symbols.
+ - Remove deprecated auth_support support.
0.33 2019-03-28
- Fix problem with serialization and deserialization
diff --git a/lib/Kalamar/Plugin/Auth.pm b/lib/Kalamar/Plugin/Auth.pm
index 640cc8b..1add8f5 100644
--- a/lib/Kalamar/Plugin/Auth.pm
+++ b/lib/Kalamar/Plugin/Auth.pm
@@ -3,9 +3,6 @@
use Mojo::ByteStream 'b';
# TODO:
-# Get rid of auth_support for templates!
-
-# TODO:
# CSRF-protect logout!
# Register the plugin
@@ -20,11 +17,6 @@
$param = { %$param, %$config_param };
};
-
- # Temp
- $app->defaults(auth_support => 1);
-
-
# Load 'notifications' plugin
unless (exists $app->renderer->helpers->{notify}) {
$app->plugin(Notifications => {
diff --git a/t/plugin/auth.t b/t/plugin/auth.t
index b2089a1..6b5818d 100644
--- a/t/plugin/auth.t
+++ b/t/plugin/auth.t
@@ -13,7 +13,6 @@
my $t = Test::Mojo->new('Kalamar' => {
Kalamar => {
- auth_support => 1,
plugins => ['Auth']
}
});