diff options
author | cos <cos> | 2015-01-25 22:28:51 +0100 |
---|---|---|
committer | cos <cos> | 2015-01-25 22:29:07 +0100 |
commit | 06f9cbb3222ce11a029df2eaa79a7a73de574b67 (patch) | |
tree | 14d6511e0aa27bf8f5d85f1e1da7771e6ce72fdd | |
parent | 209586b679ddf939d77ffa3238e2e8831667d854 (diff) | |
download | mat-06f9cbb3222ce11a029df2eaa79a7a73de574b67.zip |
Actually add authenticate_session script, as intended in 7ac05db.
-rwxr-xr-x | authenticate_session | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/authenticate_session b/authenticate_session new file mode 100755 index 0000000..8995080 --- /dev/null +++ b/authenticate_session @@ -0,0 +1,5 @@ +#!/bin/sh -e + +AUTH="'authenticated' => 'yes'" + +sed "s/\('_SESSION_REMOTE_ADDR'\)/$AUTH, \1/" |