summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-07-13 14:55:38 +0300
committerLars Wirzenius <liw@liw.fi>2018-07-13 15:20:43 +0300
commit8b52743f0a1a6942166fe8e4583a1c67b10b3d79 (patch)
tree11e809925399808dba0528ffc0fc4b374672702a
parent20931f89382da56cf63834f992d716e37b41560d (diff)
downloadqvisqve-8b52743f0a1a6942166fe8e4583a1c67b10b3d79.tar.gz
Change: actually implement step
-rw-r--r--yarns/900-local.yarn10
1 files changed, 6 insertions, 4 deletions
diff --git a/yarns/900-local.yarn b/yarns/900-local.yarn
index 14c3937..ddce8f8 100644
--- a/yarns/900-local.yarn
+++ b/yarns/900-local.yarn
@@ -38,12 +38,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
V['lifetime'] = int(get_next_match())
IMPLEMENTS GIVEN Qvisqve configuration has user account (\S+) with password (\S+)
- # FIXME: This is a dummy implemantation, does not do anything real.
- pass
+ username = get_next_match()
+ password = get_next_match()
+ V['users'] = { username: password }
IMPLEMENTS GIVEN Qvisqve configuration has application (\S+) with callback url (\S+)
- # FIXME: This is a dummy implemantation, does not do anything real.
- pass
+ app = get_next_match()
+ callback = get_next_match()
+ V['applications'] = { app: callback }
## Authentication setup