diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-12-17 15:20:39 -0800 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-12-17 15:20:39 -0800 |
commit | ad8ac102f09381600466cfa0dcdd04437bff4cd0 (patch) | |
tree | f9ec0997583929dd8d52d4b78a33373546483814 | |
parent | 263893952c7f9f690ad1625dc874e5d5ba35111c (diff) |
use config vars for home page client_id and redirect_uri
-rw-r--r-- | views/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/index.php b/views/index.php index 4e1ffb4..479ad6c 100644 --- a/views/index.php +++ b/views/index.php @@ -14,8 +14,8 @@ <form action="/auth/start" method="get" class="form-inline"> <input type="url" name="me" placeholder="https://example.com" value="" class="form-control" onchange="auto_prefix_url_field(this)" autofocus> <input type="submit" value="Sign In" class="btn btn-primary"> - <input type="hidden" name="client_id" value="https://quill.p3k.io"> - <input type="hidden" name="redirect_uri" value="https://quill.p3k.io/auth/callback"> + <input type="hidden" name="client_id" value="<?= Config::$base_url ?>"> + <input type="hidden" name="redirect_uri" value="<?= Config::$base_url ?>auth/callback"> </form> <? endif; ?> |