Overview
SHA1:7939e2b2feab51b7f128ac8b26d152fe4e045524
Date: 2018-04-29 09:15:39
User: bohwaz
Comment:Fix typo
Timelines: family | ancestors | descendants | both | trunk | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2018-05-02
17:59
[7d0a603b6f] DB::get renvoie un objet, non un tableau (user: bohwaz, tags: trunk, stable)
2018-04-29
09:15
[7939e2b2fe] Fix typo (user: bohwaz, tags: trunk, stable)
09:11
[325553daa5] id_membre ├ętait ambigu, correction (user: bohwaz, tags: trunk, stable)
Changes

Modified src/include/lib/Garradin/Membres/Session.php from [f8c34786b6] to [1581bfdf5f].

77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	{
		return $this->db->delete('membres_sessions', $this->db->where('expire', '<', time()));
	}

	protected function getRememberMeSelector($selector)
	{
		return $this->db->first('SELECT selecteur AS selector, hash,
			m.id_membre AS user_id, m.passe AS user_password, expire AS expiry
			FROM membres_sessions AS s
			INNER JOIN membres AS m ON m.id = s.id_membre
			WHERE s.selecteur = ? LIMIT 1;', $selector);
	}

	protected function deleteRememberMeSelector($selector)
	{







|







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	{
		return $this->db->delete('membres_sessions', $this->db->where('expire', '<', time()));
	}

	protected function getRememberMeSelector($selector)
	{
		return $this->db->first('SELECT selecteur AS selector, hash,
			s.id_membre AS user_id, m.passe AS user_password, expire AS expiry
			FROM membres_sessions AS s
			INNER JOIN membres AS m ON m.id = s.id_membre
			WHERE s.selecteur = ? LIMIT 1;', $selector);
	}

	protected function deleteRememberMeSelector($selector)
	{